import React from 'react';
import {Button} from "antd";
import {PageContainer} from "@ant-design/pro-layout"
import { PlusOutlined } from '@ant-design/icons';
import ProTable, { TableDropdown } from '@ant-design/pro-table';
const Index = () => {
  //表格字段
  const columns=[
    {

    }
  ]
  return (
    <PageContainer>
      <ProTable
        columns={columns}
        rowKey="id"
        dateFormatter="string"
        headerTitle="高级表格"
        toolBarRender={() => [
        <Button key="button" icon={<PlusOutlined />} type="primary">
          新建
        </Button>,
      ]}
        />
    </PageContainer>
  );
};

export default Index;
